<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<script type="text/javascript" src="<%=basePath %>js/jquery.js"></script>
<script type="text/javascript" src="<%=basePath %>js/jquery.json-2.4.min.js"></script>
<%--<script type="text/javascript" src="jquery.json-2.4.min.js"></script>--%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Tra/nsitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'beginExam.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<title>考试系统</title>
	<link rel="stylesheet" type="text/css" href="<%=basePath %>css/exam.css"/>
<style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #e1e2e3;
	font-size: 14px;
}
.STYLE6 {color: #000000; font-size: 12; }
.STYLE10 {color: #000000; font-size: 12px; }
.STYLE19 {
	color: #344b50;
	font-size: 12px;
}
.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}
.STYLE22 {
	font-size: 12px;
	color: #295568;
}
-->
</style>

  </head>
  
    <style>
	#div1 {width:100px;height:100pax; display:none;}
	</style>
  
  <script type="text/javascript">
  	
  
  </script>
  
  
  
  <body>
    
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="24" bgcolor="#353c44"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="6%" height="19" valign="bottom"><div align="center"><img src="images/tb.gif" width="14" height="14" /></div></td>
                <td width="94%" valign="bottom"><span class="STYLE1"> 试卷回顾 </span></td>
              </tr>
            </table>
            </td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
  <td>

    <br/><h3>编程题</h3><br/>
    
    <div class="style">		
    <s:iterator value="datalist" id="papers" status="status">
    
    <div class="nav">
    <s:property value="#status.index+1"/>.<s:property value="#papers[0]"/> (<s:property value="#papers[1]"/>分)
    </div>
    
    <div class="des">
	题目内容：<br/>
	</div>
	
	<div class="cribe">
    <pre><s:property value="#papers[2]"/></pre>
    </div>
    
    <div class="des">
	输入描述：<br/>
	</div>
	
	<div class="cribe">
    <pre ><s:property value="#papers[3]"/></pre><br/>
    </div>
    
    <div class="des">
	输出描述：<br/>
	</div>
	
	<div class="cribe">
    <pre ><s:property value="#papers[4]"/></pre><br/>
    </div>
    
    <div class="des">
	输入样例：<br/>
	</div>
	
	<div class="cribe">
    <pre ><s:property value="#papers[5]"/></pre><br/>
    </div>
    
    <div class="des">
        输出样例<br/>
    </div>
    
    <div class="cribe">
    <pre ><s:property value="#papers[6]"/></pre><br/>
    </div>
    
    <div class="des">
        限制条件<br/>
    </div>
    
    <div class="cribe">
        <br/><span>JAVA  运行时间   <span><s:property value="#papers[7]"/>ms</span>      运行内存   <span><s:property value="#papers[8]"/>kb</span>                   </span><br/>
        <br/><span>C++   运行时间    <span><s:property value="#papers[9]"/>ms</span>      运行内存   <span><s:property value="#papers[10]"/>kb</span>                   </span><br/><br/>
     </div>
    
    <div class="des">    
        程序代码<br/>
    </div>
    
    <div class="a">
        <textarea cols="100" rows="8" id = "answer<s:property value= "#plist.id"/>" ><s:property value="#papers[11]"/></textarea><br/><br/>
    </div>
        
     <div class="des">     
	【所得分数】(<s:property value="#papers[12]"/>分)
	</div>
		
	     
	     <br/><br/>
    </s:iterator>
    
    </td>
    </tr>
    </table>
   
  </body>
</html>
